
<%@page import="java.util.List"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	String basepath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ request.getContextPath() + "/";
%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<base href="<%=basepath%>" />
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>重庆邮电大学创业网</title>
	<link rel="stylesheet" href="css/index.css" />
	<script src="js/jquery-1.11.1.js"></script>
	<script src="js/jq-pjax.js"></script>
	<script src="js/index.js"></script>
	<script>
	<% if(request.getAttribute("pjax_back") != null && !request.getAttribute("pjax_back").equals("")) {%> 
		<%=(String)request.getAttribute("pjax_back") %>
	<% } %>
	</script>
	
</head>
<body>
	<div class="top" id="top">
		<a href="#"><img src="img/logo.png" alt="重庆邮电大学" /></a>
		<%if(session.getAttribute("user") == null){ %> 
		<form action="login" method="post">
			<div class="top_log">
				<p>账号<input type="text" placeholder="用户名／Email" name="username"/></p>
				<p>密码<input type="password" id="password" name="password"/></p>
			</div>
			<div class="login_box">
				<p><input type="radio" value="1" id="auto_login" name="cookie"/><label for="auto_login">自动登录</label>
				</p>
				<button class="pointer" name="登录">登录</button>
			</div>
			<div>
				<p><a href="getbPass">找回密码</a></p>
				<p id="zc"><a href="register">注册</a></p>
			</div>
	
	<% } else{ %>
			<div class="later"><img style="width: 40px;height: 40px;" src="${sessionScope.user.get(3) != null ? sessionScope.user.get(3) : 'logo/def_logo1.jpg'}" alt="" /><a href="<c:choose><c:when test="${sessionScope.user.get(2)==1}">admin/index</c:when><c:when test="${sessionScope.user.get(2)==2}">teac/index</c:when><c:when test="${sessionScope.user.get(2)==3}">inve/showPro</c:when><c:otherwise>./team/index</c:otherwise></c:choose>">${sessionScope.user.get(0)}</a><!-- 姓名 --><a href="loginout">注销</a></div>
		<%} %> 
		</form>	
	</div>
		<div class="nav_box">
		<div class="nav">
			<ul>
				<li><a class="pjax" href="index_match">创业比赛</a></li>
				<li><a  class="pjax"href="index_club">创业俱乐部</a></li>	
				<!-- <li><a class="pjax" href="index_cdyy">场地预约</a>
					<ul>
					<li class="nav_first_li pjax"><a href="index_cdyy">讨论室</a></li>
					<li><a class="pjax" href="index_cdyy_Receipt">查看回执</a></li>
					</ul>
				</li>	 -->
				</li>
				<li><a class="pjax" href="index_serve">服务</a>
					<ul>
					<li><a href="javascript:(alert("功能开发中...")" >工商</a></li>
					<li><a href="javascript:(alert("功能开发中...")" >税务</a></li>
					<li><a href="javascript:(alert("功能开发中...")">法务</a></li>
					<li><a href="javascript:(alert("功能开发中...")">产权</a></li>
					</ul>
				</li>	
				<li><a class="pjax" href="index_inve">投资人</a>
					<ul>
					<li><a class="pjax" href="index_inve" >文峰创业基金</a></li>
					<li><a class="pjax" href="index_inve">风险投资</a></li>
					<li><a class="pjax" href="index_inve">天使投资</a></li>
					</ul>
				</li>	
				<li><a class="pjax" href="index_cyds">创业导师</a>
				<ul>
					<li><a class="pjax" href="index_cyds?type=1">校内导师</a></li>
					<li><a class="pjax" href="index_cyds?type=2">校外导师</a></li>
					</ul>
				</li>
					<li><a class="pjax" href="index_team">团队展示</a>
					<ul>
					<li><a class="pjax" href="index_team" >团队风采</a></li>	
					<li><a class="pjax" href="index_xmzs">项目介绍</a></li>
					</ul>
				</li>	
				<li><a class="pjax" href="index_news" >新闻公告</a>
				<ul>
					<c:forEach items="${requestScope.nt }" var="nt">
					<li><a class="pjax" href="index_news?type=${nt.nt_id }">${nt.nt_name }</a></li>
					</c:forEach>
					</ul>
				</li>
				<li ><a class="pjax" href="index_jieshou">中心介绍</a>
				<ul>
					<li><a class="pjax" href="index_about">联系我们</a></li>
					<li><a class="pjax" href="index_jieshou">中心介绍</a></li>
				</ul>
				</li>
				<li><a class="last_a pjax" href="index">首页</a></li>
			</ul>
		</div>
	</div>
	<div id="body_wrap">
	
	</div>
	<div class="bottom">
		<div>
		    <ul>
				<li class="first_li">关于创业</li>
				<li>新闻公告</li>
				<li>创业辅导</li>
				<li>团队展示</li>
				<li>场地预约</li>
				<li>联系我们</li>
			</ul>
			<select class="select" name="website">
				<option selected="selected">友情链接</option>
				<option value="saab">www.cqupt.edu.cn</option>
				<option value="fiat">Fiat</option>
				<option value="audi">Audi</option>
			</select>
			<a href="#top">
			<img src="img/top.png" alt="顶部" />
			</a>
		</div>
	</div>	
	<div class="below">
		<div class="below_content">
			<div class="first_below">
			<p>联系方式</p>
			<p>重庆市南岸区崇文路2号</p>
			<p>联系人：曾老师 黄老师 杨老师</p>
			<p>电话：023-62480948 023-62480933</p>
			<p>E-mail：2086892598@qq.com</p>
			</div>
			<div>
				<p>网络宣传平台资讯</p>
				<p>微博：@重庆邮电大学就业中心</p>
				<p>微信：重庆邮电大学就业中心</p>
				<p>空间：重庆邮电大学就业中心</p>
				<p>人人：重庆邮电大学就业中心</p>
			</div>
			<div>
				<p>学生就业指导服务中心</p> 
				<p>版权所有</p>
				<p>2014</p>
				<p>邮箱：cqupt@126.com</p>
				<p>地址：重庆市南岸区崇文路2号</p>
			</div>
		</div>
	</div>
</body>
</html>
